<template>
  <div class="app-container">
    <div class="app-main">
      <div class="mainName">帆软报表入口</div>
      <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="100px">
        <el-form-item label="报表名称" prop="name">
          <el-input v-model="queryParams.name" placeholder="请输入" size="small"></el-input>
        </el-form-item>
        <el-form-item>
          <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">查询</el-button>
        </el-form-item>
      </el-form>
      <el-table v-loading="loading" :data="list" border stripe :key="1">
        <el-table-column label="单位全称" align="center" prop="name1"/>
        <el-table-column label="单位全称" align="center" prop="name2"/>
        <el-table-column label="操作" align="center">
            <template slot-scope="scope">
                <div>
                    
                </div>
            </template>
        </el-table-column>
      </el-table>
       <pagination
        v-show="total > 0"
        :total="total"
        :page.sync="queryParams.pageNum"
        :limit.sync="queryParams.pageSize"
        @pagination="getList"
        class="pagination-container"
      />
    </div>
  </div>
</template>
<script>
export default {
  name: "entry",
  data() {
    return {
      queryParams: {
        pageNum: 1,
        pageSize: 10,
        name: ""
      },
      loading: false,
      list:[],
      total: 0,
    };
  },
  created() {},
  methods: {
    handleQuery(){},
  }
};
</script>
<style lang="scss" scoped>
.app-main {
  background-color: #fff;
  // padding: 15px 20px;
  border-radius: 8px;
  .mainName {
    font-family: PingFangSC, PingFang SC;
    font-weight: 500;
    font-size: 16px;
    height: 30px;
    line-height: 30px;
    color: #000000;
    border-bottom: 1px solid #dcdfe6;
    margin-bottom: 10px;
  }
  .btnGroup {
    text-align: right;
    margin: 15px 0;
  }
}
</style>